package com.hy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("comment")
public class Comment {
    @TableField("id")
    private Integer id;
    @TableField("weeklyId")
    private Integer weeklyId;
    @TableField("teacherId")
    private Integer teacherId;
    @TableField("userId")
    private Integer userId;
    @TableField("content")
    private String content;
    @TableField("parentId")
    private Integer parentId;
    @TableField("replyId")
    private Integer replyId;

    @TableField("deleteFlag")
    private Integer deleteFlag;

    @TableField("createTime")
    private Date createTime;

    @TableField("updateTime")
    private Date updateTime;

    @TableField("likecount")
    private Integer likecount;

    @TableField("studyGardenId")
    private Integer studyGardenId; // 学习园地ID
}

